package com.jiwei.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiwei.community.entity.Collection;
import com.jiwei.community.vo.ResponseResult;


/**
 * (Collection)表服务接口
 *
 * @author jiwei
 * @since 2024-03-20 11:00:02
 */
public interface CollectionService extends IService<Collection> {
    ResponseResult collectPost(Long postId,Long userId);
    ResponseResult cancelCollect(Long postId,Long userId);
    ResponseResult getCollectionList(Integer pageNum, Integer pageSize,Long userId);

    ResponseResult isCollected(Long userId, Long postId);
}

